package com.example.hxds.odr.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Schema(description = "更新账单实际支付费用的表单")
public class UpdateBillPaymentForm {
    @NotBlank(message = "realPay不能为空")
    private String realPay;

    @NotBlank(message = "voucherFee不能为空")
    private String voucherFee;

    @NotNull(message = "orderId不能为空")
    @Min(value = 1, message = "orderId不能小于1")
    @Schema(description = "订单ID")
    private Long orderId;
}